<script>
	import config from '@/config/config.js'
	export default {
		onLaunch: function() {
			console.log('App Launch')
		},
		onShow: function() {
			console.log('App Show')
			uni.getSystemInfo({
			  success: function (res) {
			    config.windowWidth = res.windowWidth;   // 窗口宽度
			  }
			});
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>

<style>
	/*每个页面公共css */
	@import url("./style/style.css");
</style>

<style lang="scss" src='./style/index.scss'></style>